from flask_sqlalchemy import SQLAlchemy
import pymysql

db = SQLAlchemy()

pymysql.install_as_MySQLdb()
class Config:
    # 开启调试模式
    DEBUG = False

    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:jisuanji2022@121.196.166.117/house'

    SQLAlchemy_TRACK_MODIFICATIONS = True